-
Notifications
You must be signed in to change notification settings - Fork 122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test: adapt e2e compatibility tests #2247
Conversation
dc90587
to
5c540f3
Compare
for id := range *modelState.ClientsFrozenHeights { | ||
chainClientsFrozenHeights[id] = providerDriver.GetClientFrozenHeight(chain, id) | ||
} |
Check warning
Code scanning / CodeQL
Iteration over map Warning test
for validatorId := range *modelState.HasToValidate { | ||
hasToValidate[validatorId] = providerDriver.target.GetHasToValidate(validatorId) | ||
} |
Check warning
Code scanning / CodeQL
Iteration over map Warning test
inflationRateAfter := chainDriver.target.GetInflationRate(chain) | ||
|
||
// calculate the change | ||
inflationRateChange := inflationRateAfter - inflationRateNow |
Check notice
Code scanning / CodeQL
Floating point arithmetic Note test
5c540f3
to
15c2d1f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, albeit I'm not that familiar with compatibility tests but did not notice anything peculiar.
Thanks Bernd!
Description
Closes: #XXXX
Adapt e2e compatibility tests to permissionless changes on ICS
Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...
Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
I have...